<?xml version="1.0"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
          xmlns:o="urn:schemas-microsoft-com:office:office"
          xmlns:x="urn:schemas-microsoft-com:office:excel"
          xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
          xmlns:html="http://www.w3.org/TR/REC-html40">
  <Worksheet ss:Name="Nhân viên">
    <Table>
      <Row>
        <Cell><Data ss:Type="String">Mã nhân viên</Data></Cell>
        <Cell><Data ss:Type="String">Tên nhân viên</Data></Cell>
        <Cell><Data ss:Type="String">Chức vụ</Data></Cell>
        <Cell><Data ss:Type="String">Tài khoản</Data></Cell>
        <Cell><Data ss:Type="String">Mật khẩu</Data></Cell>
      </Row>
      <% @search.each do |nv| %>
          <Row>
            <Cell><Data ss:Type="Number"><%= nv.MaNV %></Data></Cell>
            <Cell><Data ss:Type="String"><%= nv.TenNV %></Data></Cell>
            <Cell><Data ss:Type="String"><%= nv.ChucVu %></Data></Cell>
            <Cell><Data ss:Type="String"><%= nv.TaiKhoan %></Data></Cell>
            <Cell><Data ss:Type="Number"><%= nv.MatKhau %></Data></Cell>
          </Row>
      <% end %>
    </Table>
  </Worksheet>
</Workbook>